You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tel:17820' class='c-bl pc-link'>.17820.jpg'' at line 1
SELECT id FROM `SC_errorPageLog` WHERE ip = '3.144.93.34' AND page = '/published/publicdata/SAJTZONASPORTA/attachments/SC/images/ca47f40b8e0f11ebaba500259003a1ce_b62bd99397fb11ed96ce87710c658388ax<a href='tel:17820' class='c-bl pc-link'>.17820.</a>jpg'